package com.fyk.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author qazws
 * @Date 2022/8/20 16:17
 * @Version 1.0
 */

@Repository
public interface UserBookMapper {
    int insertUserAndBook(@Param("userId") Integer userId,@Param("bookId") Integer bookId);

    int deleteBook(@Param("bookId") Integer bookId,@Param("userId") Integer userId);
}
